package com.dragon.modules.yuegou.excel.wallet;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\wallet\\invoice.xlsx")

public class InvoiceWorkbook {
	@ExcelSheet
	@JsonProperty("结算统计")
	private List<InvoiceRow> invoiceRows;

	public static class InvoiceRow {

		@JsonProperty("状态")
		private String status;
		
		@JsonProperty("商户名称")
		private String merchantName;
		
		@JsonProperty("开票金额")
		private BigDecimal amount;

		@JsonProperty("开票信息")
		private String companyName;

		@JsonProperty("账单生成时间")
		private String settlementMonth;

		@JsonProperty("结账时间")
		private LocalDateTime invoiceTime;

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public String getMerchantName() {
			return merchantName;
		}

		public void setMerchantName(String merchantName) {
			this.merchantName = merchantName;
		}

		public BigDecimal getAmount() {
			return amount;
		}

		public void setAmount(BigDecimal amount) {
			this.amount = amount;
		}

		public String getCompanyName() {
			return companyName;
		}

		public void setCompanyName(String companyName) {
			this.companyName = companyName;
		}

		public String getSettlementMonth() {
			return settlementMonth;
		}

		public void setSettlementMonth(String settlementMonth) {
			this.settlementMonth = settlementMonth;
		}

		public LocalDateTime getInvoiceTime() {
			return invoiceTime;
		}

		public void setInvoiceTime(LocalDateTime invoiceTime) {
			this.invoiceTime = invoiceTime;
		}

	}

	public List<InvoiceRow> getInvoiceRows() {
		return invoiceRows;
	}

	public void setInvoiceRows(List<InvoiceRow> invoiceRows) {
		this.invoiceRows = invoiceRows;
	}

}
